package com.core.zyyz.pcmc.domain;

import com.core.common.annotation.Excel;
import com.core.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据权限规则对象 pcmc_data_permission_rule
 *
 * @author core
 * @date 2024-10-17
 */
public class PcmcDataPermissionRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规则ID */
    private Long ruleId;

    /** 规则类型 */
    @Excel(name = "规则类型")
    private String ruleType;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String ruleName;

    /** 规则列名 */
    @Excel(name = "规则列名")
    private String ruleColumn;

    /** 列条件，比如><=等等 */
    @Excel(name = "列条件，比如><=等等")
    private String columnOperator;

    /** 规则值 */
    @Excel(name = "规则值")
    private String ruleValue;

    /** 说明 */
    @Excel(name = "说明")
    private String DESCRIPTION;

    /** 是否系统内置 */
    @Excel(name = "是否系统内置")
    private String isSystem;

    public void setRuleId(Long ruleId)
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId()
    {
        return ruleId;
    }
    public void setRuleType(String ruleType)
    {
        this.ruleType = ruleType;
    }

    public String getRuleType()
    {
        return ruleType;
    }
    public void setRuleName(String ruleName)
    {
        this.ruleName = ruleName;
    }

    public String getRuleName()
    {
        return ruleName;
    }
    public void setRuleColumn(String ruleColumn)
    {
        this.ruleColumn = ruleColumn;
    }

    public String getRuleColumn()
    {
        return ruleColumn;
    }
    public void setColumnOperator(String columnOperator)
    {
        this.columnOperator = columnOperator;
    }

    public String getColumnOperator()
    {
        return columnOperator;
    }
    public void setRuleValue(String ruleValue)
    {
        this.ruleValue = ruleValue;
    }

    public String getRuleValue()
    {
        return ruleValue;
    }
    public void setDESCRIPTION(String DESCRIPTION)
    {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getDESCRIPTION()
    {
        return DESCRIPTION;
    }
    public void setIsSystem(String isSystem)
    {
        this.isSystem = isSystem;
    }

    public String getIsSystem()
    {
        return isSystem;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ruleId", getRuleId())
                .append("ruleType", getRuleType())
                .append("ruleName", getRuleName())
                .append("ruleColumn", getRuleColumn())
                .append("columnOperator", getColumnOperator())
                .append("ruleValue", getRuleValue())
                .append("DESCRIPTION", getDESCRIPTION())
                .append("isSystem", getIsSystem())
                .toString();
    }
}
